A custom slot, implementable by external code. More...
Public Member Functions | |
| ShaderPassCustomSlot () | |
| virtual | ~ShaderPassCustomSlot () |
| const char * | getTypeName () const |
| virtual unsigned int | getDataByteSize ()=0 |
| virtual void | fillDataBuffer (void *buffer)=0 |
A custom slot, implementable by external code.
| nkGraphics::ShaderPassCustomSlot::ShaderPassCustomSlot | ( | ) |
Constructor.
|
virtual |
Destructor.
| const char* nkGraphics::ShaderPassCustomSlot::getTypeName | ( | ) | const |
|
pure virtual |
Implemented in nkGraphics::ShaderPassCustomDummySlot.
|
pure virtual |
A call to fill memory before a pass. The slot is supposed to write the data needed in the memory provided.
| buffer | The pointer to the memory to write. |
Implemented in nkGraphics::ShaderPassCustomDummySlot.